<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8" />
		<title></title>
		<!-- <script src="https://unpkg.com/vue@next"></script> -->
		<style>
			.demo {
				font-family: sans-serif;
			}
		</style>
		<script src="js/v3.2.8/vue.global.prod.js" type="text/javascript" charset="utf-8"></script>
	</head>
	<body>
		<div id="hello-vue" class="demo">
			{{ message }}
		</div>
		<script>
			const HelloVueApp = {
				data() { //Vue实例的数据对象，ES6语法，等价于data: function () {}
					return {
						message: 'Hello Vue!'
					}
				}
			}
			//每个Vue应用都是通过用createApp函数创建一个新的应用实例开始
			//mount函数把一个Vue应用实例挂载到<div id="hello-vue"></div>
			Vue.createApp(HelloVueApp).mount('#hello-vue')
		</script>
	</body>
</html>